﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<easyccms.BusinessLayer.Entities.UserOnline>>" %>
<%@ Import Namespace="easyccms.BusinessLayer.Entities" %>
<div>
    <ul class="side-menu">
        
        <% if (Model!=null)
            foreach (UserOnline item in Model.AsEnumerable())
           { %>
        <li>
            <%: string.Format("{0} {1}", item.User.UserProfile.Name, item.User.UserProfile.Surname)
            %>
            <small>
                <%: String.Format("{0:g}", item.User.LastLoginDate) %></small> </li>
        <% } %>
    </ul>
</div>
